Piwik\Archive\ArchiveInvalidator D

Total Complexity 127
Dependencies 27
Dependents 12
Total lines 581
Lines of code 383
Logical lines of code 250
Comment lines 155
Methods 32
Properties 5

Methods 32

Method Rating Maintainability Complexity Lines of code
markArchivesAsInvalidated()
B
43 20 39
reArchiveReport()
A
46 13 38
removeInvalidationsFromDistributedList()
A
48 11 34
getAllPeriodsByYearMonth()
A
57 8 16
removeDatesThatHaveBeenPurged()
S
58 7 14
markArchivesOverlappingRangeAsInvalidated()
S
52 6 24
applyScheduledReArchiving()
S
54 6 18
addChildPeriodsByYearMonth()
S
59 5 14
scheduleReArchiving()
S
60 5 11
getRememberedArchivedReportsThatShouldBeInvalidated()
S
55 4 19
addParentPeriodsByYearMonth()
S
63 4 9
markArchivesInvalidated()
S
59 3 14
rememberToInvalidateArchivedReportsLater()
S
59 3 14
findOlderDateWithLogs()
S
66 3 8
makePeriod()
S
65 3 8
deleteOptionLike()
S
61 2 11
getAllRememberToInvalidateArchivedReportsLater()
S
61 2 11
getSegmentArchiving()
S
72 2 6
removeInvalidationsSafely()
S
64 2 9
getAllSitesId()
S
67 2 8
removeInvalidations()
S
69 2 7
shouldPropagateUp()
S
77 2 3
forgetRememberedArchivedReportsToInvalidateForSite()
S
69 2 7
getRememberedArchivedReportsOptionFromTracker()
S
67 2 8
forgetRememberedArchivedReportsToInvalidate()
S
75 1 4
buildRememberArchivedReportIdProcessSafe()
S
69 1 6
buildRememberArchivedReportIdForSiteAndDate()
S
72 1 5
markInvalidatedArchivesForReprocessAndPurge()
S
76 1 4
getYearMonth()
S
80 1 3
getUniquePeriodId()
S
79 1 3
buildRememberArchivedReportIdForSite()
S
80 1 3
__construct()
S
74 1 5